package cn.big.bigd.biocode.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * @ClassName: CreditRole
 * @Description: TODO
 * @Author: FanWang
 * @CreateDate: 2018/2/1 下午3:02
 * @Version: 1.0
 * @Copyright: Copyright (c) 2018/2/1
 **/
@Entity
@ToString
@Getter
@Setter
@Table(name="role")
public class CreditRole {
    @Id
    private int id;
    @Column(length = 10)
    private String name;

}
